Part Number Hot Search : 
ANR25 C3461 MC78FC50 25C16 FA5532 TPCS8104 JMB381 C7043
Product Description
Full Text Search
 

To Download UM0162 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  rev. 2 september 2013 1/32 2 UM0162 user manual getting started with the can industri al controller evaluation board using an st10 mcu introduction this user manual describes the implementation of controller area network (can) industrial controller (ic) applications based on a 16-bit microcontroller from stmicroelectronics? st10 family. st10 microcontrollers have a c166 core that is compatible in industrial market segment. the canic10 can be used as a simple programmable logic controller (plc), master or slave node in a communication system and as an evaluation board. the canic10 is equipped with a sophisticated industrial sensor interface using a clt3-4bt6 integrated device, 5volt cmos level parallel output interface and several bus interfaces such as rs232, rs485 and two can2.0b connections. output interface is compatible with vn808, vn808 cm and vn340 reference design boards (industrial high-side drivers). the system can be supplied either from a standard dc power supply (6 to 16v dc) or from a connected vnxxx board. the canic10 package includes a cd-rom with the application program (intel hex file), board fabrication data (gerber files), this user manual and other documentation for related devices. main features 20-bit digital interface for 2-, 3-wire sensors or mechanical contact using clt3-4bt6 and pclt-2 a te rminations supporting type 1, 2 or 3 input char acteristics according to iec61131-2 specifications 24-bit digital output interface supporting vn340 and vn808 reference design boards 16-bit st10f269 microcontro ller with a c166 core @ 40mhz st202e rs-232 transceiver with 15kv guaranteed esd protection st485a very high-speed low-power rs-485 transceiver interface with bit rate up to 30mbps two l9616 high-speed can bus transceiver with bit rate up to 1mbps stm811 reset circuit lf50 very low dropout voltage regulator 6 to 16v dc supply voltage www.st.com
UM0162 2/32 figure 1. canic10 system block diagram
UM0162 3/32 contents 1 hardware . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 1.1 input current limited termination (clt) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 5 1.1.1 input clt sensor interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 6 1.2 input programmable current limited terminat ion (pclt) . . . . . . . . . . . . . . . 6 1.2.1 input pclt sensor interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 8 1.3 output connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 9 1.4 serial interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 10 1.5 can interface . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.6 microcontroller part . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14 1.6.1 timing . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.6.2 reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15 1.7 power supply connections . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.7.1 input clt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.7.2 input pclt . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16 1.7.3 system supplies . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17 1.8 jumper settings . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18 2 software . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 2.1 bridge configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 2.2 toggling configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 20 3 electrical specifications and timings . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21 4 revision history . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 appendix a bill of materials . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23 appendix b pcb layers . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26
1 hardware UM0162 4/32 1 hardware the canic10 evaluation board is designed to evaluate and develop controller area network (can) industrial controller (ic) applications for use with an st10 microcontroller. the canic10 is manufactured on a 4-layer printed circuit board (pcb) designed with class 6 accuracy. total board dimensions are 155 x 120 mm. figure 1 indicates port and jumper locations. the canic10 evaluation board can be divided into several sections:  input current limited termination (clt)  input programmable current limited termination (pclt)  output  rs-232 and rs-485 serial interfaces  can interface  microcontroller (mcu)  power supply figure 1. port and jumper locations ai11649 input parallel interface output parallel interface input power jumpers 8-bit input (in1) 8-bit input (in2) 4-bit input (in3) rs-232 rs-485 8-bit output (out1) 8-bit output (out2) 4-bit output (out3) 4-bit output (out4) power supply can1 can2 can termination jumpers rs-232/rs-485 selection jumpers output power jumpers output group mode jumpers rs-485 termination jumpers output power jumpers
UM0162 1 hardware 5/32 1.1 input current limited termination (clt) figure 2 shows the input current limited termination (clt) connections. figure 2. input clt diagram in14 gnd_clt_1 d3 led r12 1k5 1 2 3 4 5 6 7 8 9 10 j1 con10 1 2 j18 r11 4k7 1 2 16 15 u2a tlp281-4 gnd_clt_1 c10 22n vcc vcc c12 22n c11 22n gnd_clt_1 gnd_clt_1 r4 1k2 c2 22n r8 1k2 gnd_clt_1 3 4 14 13 u2b tlp281-4 r9 1k2 1 2 16 15 u3a tlp281-4 r10 1k2 3 4 14 13 u3b tlp281-4 5 6 12 11 u3c tlp281-4 7 8 10 9 u3d tlp281-4 gnd_clt_1 vcc vcc r2 1k2 gnd_clt_1 gnd_clt_1 r5 1k2 gnd_clt_1 gnd_clt_1 r76 10k r77 10k r78 10k r79 10k 5 6 12 11 u2c tlp281-4 p5.2 p5.8 7 8 10 9 u2d tlp281-4 c16 22n vcc vcc p5.12 p5.13 c18 22n c15 22n p5.14 gnd_clt_2 p5.15 gnd_clt_1 c17 22n p5.3 gnd_clt_2 gnd_clt_2 1 2 16 15 u8a tlp281-4 vcc c27 22n vcc c25 22n c24 22n gnd_clt_2 gnd_clt_2 c26 22n in16 gnd_clt_2 3 4 14 13 u8b tlp281-4 1 2 16 15 u11a tlp281-4 3 4 14 13 u11b tlp281-4 5 6 12 11 u11c tlp281-4 7 8 10 9 u11d tlp281-4 vcc gnd_clt_2 vcc gnd_clt_2 gnd_clt_2 gnd_clt_2 gnd_clt_2 5 6 12 11 u8c tlp281-4 p5.10 7 8 10 9 u8d tlp281-4 gnd_clt_2 p5.11 vcc vcc gnd_clt_2 gnd_clt_2 gnd_clt_2 p5.9 r58 10k gnd_clt_2 gnd_clt_1 in1 2 in2 4 in3 7 in4 9 out1 19 out2 17 out3 14 out4 12 com 1 com 10 com 16 com 15 com 11 vc 5 esd12 3 esd34 8 esd_c 6 com12 18 com34 13 com 20 u6 clt3-4bt6 gnd_clt_1 vcc vcc gnd_clt_1 vcc_in_clt1 gnd_in_clt1 gnd_clt_1 gnd_clt_1 gnd_clt_1 p5.1 r80 10k r81 10k r82 10k r83 10k 1 2 j19 gnd_clt_1 r73 10k r74 10k r75 10k r109 10k vcc_in_clt1 gnd_clt_1 in15 gnd_clt_1 gnd_in_clt1 r1 1k2 vcc_in_clt2 r3 1k2 c9 22n vcc gnd_clt_1 in1 2 in2 4 in3 7 in4 9 out1 19 out2 17 out3 14 out4 12 com 1 com 10 com 16 com 15 com 11 vc 5 esd12 3 esd34 8 esd_c 6 com12 18 com34 13 com 20 u1 clt3-4bt6 gnd_in_clt2 gnd_clt_2 r17 1k2 r14 1k2 gnd_clt_2 in1 2 in2 4 in3 7 in4 9 out1 19 out2 17 out3 14 out4 12 com 1 com 10 com 16 com 15 com 11 vc 5 esd12 3 esd34 8 esd_c 6 com12 18 com34 13 com 20 u7 clt3-4bt6 in21 in28 p5.4 d5 stth1l06a in22 r18 4k7 in23 in27 in24 1 2 3 4 5 6 7 8 9 10 j6 con10 r53 10k r24 4k7 gnd_clt_2 r21 1k2 r22 1k2 r23 1k2 r27 1k2 r15 1k2 r16 1k2 vcc in26 gnd_clt_2 in1 2 in2 4 in3 7 in4 9 out1 19 out2 17 out3 14 out4 12 com 1 com 10 com 16 com 15 com 11 vc 5 esd12 3 esd34 8 esd_c 6 com12 18 com34 13 com 20 u10 clt3-4bt6 gnd_clt_2 gnd_clt_2 gnd_in_clt2 vcc_in_clt2 gnd_clt_2 in25 p5.5 c8 22n in11 p5.0 in18 vcc_in_clt3 gnd_in_clt2 gnd_in_clt3 1 2 j45 1 2 j49 vcc_in_clt2 d1 stth1l06a in12 c6 22n p5.6 gnd_clt_1 r70 10k r71 10k r6 4k7 in17 d6 led r25 1k5 p5.7 in13 c7 22n gnd_clt_1 ai11642
1 hardware UM0162 6/32 four digital current limited termination (clt) devices are used as an input sensor interface. each device has four separate data channels, providing a total of 16 input channels. all clt input channels comply with iec61131-2 type 1 and 3 specifications. signals are galvanically decoupled by optocouplers (u2, u3, u8 and u11). additional 22-nf low-pass filter capacitors are used (c6 to c27). to reach "gnd" voltage level (when input sensors are in low-level) on microcontroller ports (p5.0 - p5.15), 10-k ?
UM0162 1 hardware 7/32 current limiter that operates using external resistors as shown in figure 5 . all pclt input channels comply with iec61131-2 type 1, 2 and 3 specifications. figure 5. input pclt sensor interface gnd_clt_3 comp 2 comp 4 ref 7 led1 9 out1 14 coms 13 in1 1 vdd 10 coms 11 vc 5 in2 3 led2 8 out2 12 u24 pclt-2a gnd_in_clt3 gnd_clt_4 comp 2 comp 4 ref 7 led1 9 out1 14 coms 13 in1 1 vdd 10 coms 11 vc 5 in2 3 led2 8 out2 12 u25 pclt-2a gnd_clt_4 r108 0r r48 0r gnd_clt_4 d11 stth1l06a r111 10k gnd_clt_4 gnd_clt_3 r33 750r gnd_clt_3 r34 750r in31 d8 stth1l06a in32 r36 2k2 in33 d13 led in34 p3.3 r37 750r vcc_in_clt3 vcc vcc gnd_clt_3 1 2 16 15 u17a tlp281-4 14 13 u26b tlp281-4 5 6 12 11 u26c tlp281-4 7 8 10 9 u26d tlp281-4 vcc vcc gnd_clt_3 p3.0 gnd_clt_3 d10 led r44 1k5 r89 0r gnd_clt_3 r38 750r gnd_clt_4 c60 33n 1 2 3 4 5 6 j50 con6 p3.1 c39 22n c38 22n gnd_clt_4 c34 22n c59 33n gnd_clt_4 gnd_clt_4 d16 led d15 led gnd_clt_3 gnd_clt_4 c37 22n r84 10k r85 10k r86 10k r87 10k r40 2k2 gnd_clt_4 r110 10k gnd_clt_3 gnd_clt_3 r45 0r d14 led p3.2 ai11644
1 hardware UM0162 8/32 1.2.1 input pclt sensor interface the input pclt is designed to interface with a 2- or 3-wire digital sensor and complies with iec61131-2 type 1, 2 and 3 specifications. input type characteristic can be changed choosing different resistor values as shown in ta b l e 1 or pclt-2a datasheet. figure 6 shows the input pclt pinout and sensor connections are described in figure 7 . table 1. input type programming resistors type 1 type 2 type 3 unit r110 and r111 22 10 22 k ? ? ? in out u1 2-wire sensor --- 24v power supply in31 1 in32 2 in33 3 in34 4 vcc3 9 gnd3 10 j50 --- 24v power supply vs gnd out u1 3-wire sensor in31 1 in32 2 in33 3 in34 4 vcc3 9 gnd3 10 j50 ai11645
UM0162 1 hardware 9/32 1.3 output connections figure 8 describes the canic10 output structure and its connections for supporting vn340 and vn808 reference design boards. 74hc541 octal bus buffers (u5, u9 and u13) with 3-state outputs are used to force microcontroller outputs. the buffer outputs are permanently selected (by pins g1 and g2 ) and connected directly to the output connectors (j12, j31, j46 and j53). these connectors can be also used to supply the canic10 system (in compliance with j8, j10, j30, j28, j47, j48, j51 and j52 settings). figure 8. output diagram p2.0 vcc_in_vn c4 100n vcc out18 c1 10n out17 out16 out15 p2.7 vcc_in_vn gnd_in_vn p2.6 a1 2 a2 3 a3 4 a4 5 a5 6 a6 7 a7 8 a8 9 g1 1 g2 19 y1 18 y2 17 y3 16 y4 15 y5 14 y6 13 y7 12 y8 11 u5 74hc541 out14 status1 p2.5 out13 p2.4 out12 p7.4 p2.3 1 2 3 4 5 6 7 8 9 10 11 12 13 14 j12 con14 out11 p2.2 d2 led 3mm r7 1k5 1 2 j10 1 2 j8 p2.1 conn #2 for vn808 p2.14 out24 a1 2 a2 3 a3 4 a4 5 a5 6 a6 7 a7 8 a8 9 g1 1 g2 19 y1 18 y2 17 y3 16 y4 15 y5 14 y6 13 y7 12 y8 11 u9 74hc541 p2.13 status2 p2.12 out23 p7.5 out22 p2.11 1 2 3 4 5 6 7 8 9 10 11 12 13 14 j31 con14 out21 p2.10 d4 led 3mm r13 1k5 1 2 j28 1 2 j30 p2.9 out28 vcc_in_vn p2.8 vcc c13 100n c3 10n out27 out26 p2.15 out25 gnd_in_vn vcc_in_vn d7 led 3mm r30 1k5 a1 2 a2 3 a3 4 a4 5 a5 6 a6 7 a7 8 a8 9 g1 1 g2 19 y1 18 y2 17 y3 16 y4 15 y5 14 y6 13 y7 12 y8 11 u13 74hc541 p8.5 p8.4 p8.7 p8.6 status3 out34 p7.6 p8.0 1 2 3 4 5 6 7 8 9 10 j46 con10 1 2 j48 vcc_in_vn 1 2 j47 gnd_in_vn out44 1 2 3 4 5 6 7 8 9 10 j53 vcc c22 100n vcc_in_vn p8.1 status4 out43 p8.2 c48 10n vcc_in_vn vcc_in_vn 1 2 j52 1 2 j51 gnd_in_vn out33 out42 p8.3 out32 out41 d9 led 3mm r39 1k5 out31 p7.7 ai11646 conn #1 for vn808 conn #3 for vn340 conn #4 for vn340 c22 100n con10
1 hardware UM0162 10/32 1.4 serial interface the canic10 is equipped with rs-232 and rs-485 interfaces as shown in figure 10 and figure 11 . figure 9. output connector pinouts figure 10. rs-232 serial interface diagram ai11653 output connector 1 (j12) out11 status1 out17 out15 out13 vcc out12 out18 out16 out14 gnd out41 out43 output connector 2 (j31) out21 status2 out27 out25 out23 vcc out22 out28 out26 out24 gnd output connector 3 (j46) output connector 4 (j53) gnd vcc status4 out44 out42 out31 out33 gnd vcc status3 out34 out32 ai11647 txd0 etxd0 rs232_txd erxd0 rs485_txd rs485_rxd rxd0 rs232_rxd vcc vcc vcc 1 2 3 j68 jumper_3p r64 0r c58 100n c57 100n c66 10n/500v r65 m1 c52 100n c52 100n 1 2 3 4 5 6 7 8 9 m1 m2 j54 c51 100n c51 100n c1+ 1 c1- 3 c2+ 4 c2- 5 v+ 2 v- 6 r1out 12 r2out 9 t1in 11 t2in 10 r1in 13 r2in 8 t1out 14 t2out 7 u15 st202e r35 10k c55 100n 1 2 3 j67 jumper_3p con10
UM0162 1 hardware 11/32 jumpers j67 (tx) and j68 (rx) select the rs-232 or rs-485 communication channel. connect jumper pins 1 and 2 for rs-232 communication (o r pins 2 and 3 for rs-485 communication) on both the transmit and receive jumpers. set the endpoint cable termination for the rs-485 serial interface by closing jumpers j56, j57 and j62. terminating resistors r46, r47 and r50 are selected for a type-a profibus dp cable. they can be replaced with different values depending on the physical layer implemented. shielding of communication cables can be independent or connected together using a zero- ohm resistor (r63). figure 11. rs-485 serial interface diagram ai11661 rs485_rxd p7.0 rs485_txd vcc vcc vcc vcc r47 220r r49 390r r50 390r r46 390r 1 2 j57 j57 r52 0r r52 0r r66 m1 c63 100n 1 2 j62 j62 r51 0r r51 0r c67 10n/500v 1 2 3 4 5 6 7 8 9 m1 m2 j59 1 2 j56 j56 ro 1 di 4 gnd 5 vcc 8 re 2 de 3 a 6 b 7 u21 st485a 1 j61 con10
1 hardware UM0162 12/32 1.5 can interface figure 12 describes the two independent can channel connections. shielding of communication cables can be independent or connected together using a zero- ohm resistor (r68). if any of the can nodes are placed at the end of the can cable, the appropriate terminating resistors should be connected by closing jumpers j63 and j65. the l9616 can transceiver has an adjustable slope control feature that sets the slope speed using its asc pin. this pin can be either hard- connected high or low using zero-ohm resistors or it can be controlled by microcontroller ports p3.8 and p3.9. ta bl e 2 describes the resistor assembling or control pin levels. figure 12. can interface diagram ai11648 can1_rxd can1_txd vcc vcc vcc 1 2 j63 j63 r54 0r c69 10n/500v r69 m1 tx0 1 gnd 2 vs 3 rx0 4 rx1_ref 5 can_l 6 can_h 7 asc 8 u22 l9616 r57 0r c64 100n r56 0r 1 2 3 4 5 6 7 8 9 m1 m2 j64 r55 120r can2_rxd can2_txd vcc vcc vcc c68 10n/500v 1 2 j65 j65 r67 m1 1 2 3 4 5 6 7 8 9 m1 m2 r61 0r r60 120r r59 0r c65 100n r62 0r tx0 1 gnd 2 vs 3 rx0 4 rx1_ref 5 can_l 6 can_h 7 asc 8 u23 l9616 con10 con10 j66 p3.8 p3.9
UM0162 1 hardware 13/32 note: 1 if a resistor assembly is used (hardware op tion set), the appropriate microcontroller signal should be set as an input! 2 do not assemble both resistors of each pair as this will shor t-circuit the supply voltage! table 2. can channel slew rate settings channel signal resistor assembled no. speed slew rate no. level 1 low 5 to 20 v/s p3.8 high r54 high 20 to 50 v/s low r56 2 low 5 to 20 v/s p3.9 high r59 high 20 to 50 v/s low r61
1 hardware UM0162 14/32 1.6 microcontroller part figure 13 describes the microcontroller port signal assignment and accessories connections. figure 13. microcontroller connections ai11654 p5.13 p5.10 p5.9 p5.8 p5.15 p5.14 p5.11 p5.12 dc2 a2 hlda p7.1 dc1 p7.4 p7.4 p7.6 p7.6 p7.5 p7.5 p7.7 p7.7 xtal1 a3 p8.0 p8.3 p8.1 p8.4 p8.7 p8.2 p8.5 p8.6 p7.2 xtal2 breq rstin rstout a4 a5 a6 a7 p7.3 nmi ale rd wr a8 a9 a10 a11 a14 a13 a12 a15 cs0 ea ready p2.0 p2.1 p2.2 p2.3 cs1 p2.4 p0l.0 cs2 p0l.1 p0l.2 p0l.3 cs3 p0l.4 p0l.5 p0l.6 p3.0 p0l.7 p3.1 p3.2 p3.3 p0h.0 p0h.1 p0h.2 p0h.3 p3.4 p3.5 cs4 p3.6 p3.7 p3.8 p3.9 txd0 rxd0 p0h.4 p0h.5 p0h.6 p0h.7 a0 bhe/wrh sclk clkout p2.5 a18 a17 a16 a19 can2_rxd can1_rxd p2.6 p2.7 hold p2.8 a1 can2_txd can1_txd p2.9 p2.10 p2.11 p2.12 p2.13 p2.14 p2.15 p5.0 p5.1 p5.2 p5.5 p5.4 p5.3 p5.6 p5.7 p7.0 vcc vcc vcc vcc vcc vcc 1 2 3 4 5 6 7 8 j70 con 8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 j24 con16 1 2 3 4 5 6 j71 con6 r101 6k8 c33 100n r98 6k8 r93 6k8 r95 6k8 r105 6k8 r92 6k8 + c30 1m/16v (a) + p6.0/cs0 1 p6.1/cs1 2 p6.2/cs2 3 p6.3/cs3 4 p6.4/cs4 5 p6.5/hold 6 p6.6/hlda 7 p6.7/breq 8 p8.0/cc16io 9 p8.1/cc17io 10 p8.2/cc18io 11 p8.3/cc19io 12 p8.4/cc20io 13 p8.5/cc21io 14 p8.6/cc22io 15 p8.7/cc23io 16 dc2 17 vss 18 p7.0/pout0 19 p7.1/pout1 20 p7.2/pout2 21 p7.3/pout3 22 p7.4/cc28io 23 p7.5/cc29io 24 p7.6/cc30io 25 p7.7/cc31io 26 p5.0/an0 27 p5.1/an1 28 p5.2/an2 29 p5.3/an3 30 p5.4/an4 31 p5.5/an5 32 p5.6/an6 33 p5.7/an7 34 p5.8/an8 35 p5.9/an9 36 varef 37 vagnd 38 p5.10/an10/t6eud 39 p5.11/an11/t5eud 40 p5.12/an12/t6in 41 p5.13/an13/t5in 42 p5.14/an14/t4eud 43 p5.15/an15/t2eud 44 vss 45 vdd 46 p2.0/cc0io 47 p2.1/cc1io 48 p2.2/cc2io 49 p2.3/cc3io 50 p2.4/cc4io 51 p2.5/cc5io 52 p2.6/cc6io 53 p2.7/cc7io 54 vss 55 dc1 56 p2.8/cc8io/ex0in 57 p2.9/cc9io/ex1in 58 p2.10/cc10io/ex2in 59 p2.11/cc11io/ex3in 60 p2.12/cc12io/ex4in 61 p2.13/cc13io/ex5in 62 p2.14/cc14io/ex6in 63 p2.15/cc15io/ex7in/t7in 64 p3.0/t0in 65 p3.1/t6out 66 p3.2/capin 67 p3.3/t3out 68 p3.4/t3eud 69 p3.5/t4in 70 vss 71 vdd 72 p3.6/t3in 73 p3.7/t2in 74 p3.8/mrst 75 p3.9/mtst 76 p3.10/txd0 77 p3.11/rxd0 78 p3.12/bhe/wrh 79 p3.13/sclk 80 p3.15/clkout 81 vdd 82 vss 83 rpd 84 p4.0/a16 85 p4.1/a17 86 p4.2/a18 87 p4.3/a19 88 p4.4/a20/can2_rxd 89 p4.5/a21/can1_rxd 90 p4.6/a22/can1_txd 91 p4.7/a23/can2_txd 92 vdd 93 vss 94 rd 95 wr/wrl 96 ready 97 ale 98 ea 99 p0l.0/ad0 100 p0l.1/ad1 101 p0l.2/ad2 102 p0l.3/ad3 103 p0l.4/ad4 104 p0l.5/ad5 105 p0l.6/ad6 106 p0l.7/ad7 107 p0h.0/ad8 108 vdd 109 vss 110 p0h.1/ad9 111 p0h.2/ad10 112 p0h.3/ad11 113 p0h.4/ad12 114 p0h.5/ad13 115 p0h.6/ad14 116 p0h.7/ad15 117 p1l.0/a0 118 p1l.1/a1 119 p1l.2/a2 120 p1l.3/a3 121 p1l.4/a4 122 p1l.5/a5 123 p1l.6/a6 124 p1l.7/a7 125 vdd 126 vss 127 p1h.0/a8 128 p1h.1/a9 129 p1h.2/a10 130 p1h.3/a11 131 p1h.4/a12/cc24io 132 p1h.5/a13/cc25io 133 p1h.6/a14/cc26io 134 p1h.7/a15/cc27io 135 vdd 136 xtal2 137 xtal1 138 vss 139 rstin 140 rstout 141 nmi 142 vss 143 vdd 144 p3.14 not implemented r103 6k8 r107 6k8 r106 6k8 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 j69 con32a c71 330n r19 10k c70 330n r29 10k r31 220k r28 10k r20 10k r99 6k8 r104 6k8 1 2 4 3 5 6 7 8 j26 con 4 r97 6k8 r100 6k8 r32 4k7 r26 10k r96 6k8 r94 6k8 r102 6k8 u4
UM0162 1 hardware 15/32 1.6.1 timing either a simple crystal or a cr ystal oscillator can be used for ti ming. depending on the selected option, the crystal oscillator (y1) or simple cr ystal (y2) components are assembled as shown in figure 14 . 1.6.2 reset either a reset circuit or reset capacitor option can be used to reset the microcontroller as shown in figure 15 . when using an stm811 reset circuit (u12), c29 is not assembled. if the reset capacitor options is selected, assemble capacitor c29 and place a zero-ohm smd resistor between pads 2 and 3 instead of the reset circuit. figure 14. timing options figure 15. reset circuit ai11655 crystal oscillator option simple crystal option y2 10mhz c19 33p xta l 2 xta l1 c20 33p vcc vcc 1 y1 osc8a en out xta l1 c28 100n ai11656 rstin vcc gnd 1 rst 2 mr 3 vcc 4 stm811 sw1 + c29 2m2/6.3v (a) reset capacitor option reset circuit option u12 rstin 2 3 stm811 sw1 u12 r112 0 ?
1 hardware UM0162 16/32 1.7 power supply connections input clt and pclt devices are supplied from the input connectors (j1, j6 and j50). all inputs use a common supply voltage. supply voltag e inputs vcc1, vcc2 and vcc3 (or gnd1, gnd2 and gnd3) can be connected together by connecting jumper pins j18, j19, j45 and j49 as shown in figure 16 . the advantage of connecting all supply voltage inputs is that only a single input must be connected to the supply voltage for all inputs to be supplied. 1.7.1 input clt if both input clt sensor banks (in1x and in2x) require an independent supply voltage, jumpers j18 and j19 must not be connected. in this case, the supply voltage should be connected to each input connector (j1 and j6) separately in order to correctly supply the corresponding input sensor bank. in standard industrial applications, jumpers j18 and j19 are connected and the supply voltage (24v) is connected to only one single supply voltage inputs (vcc1 or vcc2; and gnd1 or gnd2). 1.7.2 input pclt if the input pclt sensor bank (in3x) requires an independent supply voltage, jumpers j45 and j49 must be open. in this case, the supply voltage should be connected to input pins vcc3 and gnd3. in standard industrial applications, jumpers j45 and j49 are closed and the sensor supply voltage (24v) is connected to only one of the supply voltage inputs (vcc2, gnd2 or vcc3, gnd3). figure 16. supply voltage connections j18 j19 vcc_in_clt1 gnd_in_clt1 j49 j45 vcc_in_clt2 gnd_in_clt2 vcc_in_clt2 gnd_in_clt2 vcc_in_clt3 gnd_in_clt3 ai11659
UM0162 1 hardware 17/32 1.7.3 system supplies the gnd and vcc pins of output con nectors j12, j31, j46 and j53 (see figure 8 and figure 9 ) or a standard 2.5mm coaxial supply via connector j73 (see figure 18 ) can be used as a power supply for the system. supply voltage should be between 6v and 16v dc. to prevent supply voltage distortion, bloc king capacitors are included on the board ( figure 18 ). connector (j72) can be used to supply expans ion modules connected to the board (5v dc supply). figure 17. power supply diagram figure 18. blocking capacitors and 5v output connector diagram ai11657 gnd_in_vn vcc_in_vn vc c f1 f500ma c61 100n d12 stth1l06a + c62 2m2/6.3v (a) + gnd 4 vout 3 vin 1 u33 lf50/dpak c77 100n ai11658 vcc vcc vcc vcc vcc vcc vcc vcc vcc vcc vcc vcc vcc vcc vcc c45 100n c44 100n + c74 10m/6.3v (b ) + c42 100n c41 100n c40 100n c43 100n vcc_in_vn gnd_in_vn 1 2 3 j73 con3 + c54 10m/6.3v (b) + vcc + c76 10m/6.3v (b) + + c50 10m/6.3v (b) + vcc + c75 10m/6.3v (b ) + c47 100n c46 100n c35 100n + c56 10m/6.3v (b) + vcc + c72 10m/6.3v (b) + vcc vcc 1 2 j72 con2 j72 con2 c73 100n + c53 10m/6.3v (b) + c36 100n
1 hardware UM0162 18/32 1.8 jumper settings ta b l e 3 summarizes the jumper switches used to configure the application. table 3. jumper descriptions no. description function j19 negative (gnd) input banks 1 and 2: supply voltage interconnection j18 positive (+24v) j45 negative (gnd) input banks 2 and 3: supply voltage interconnection j49 positive (+24v) j8 negative (gnd) mcu and accessories: supply voltage input from j12 connector j10 positive (+6v to +16v) j30 negative (gnd) mcu and accessories: supply voltage input from j31 connector j28 positive (+6v to +16v) j47 negative (gnd) mcu and accessories: supply voltage input from j46 connector j48 positive (+6v to +16v) j51 negative (gnd) mcu and accessories: supply voltage input from j53 connector j52 positive (+6v to +16v) j67 txd signal rs-232/rs-485 switch j68 rxd signal j63 can 1 can line termination j65 can 2 j56 pull-up rs-485 line termination j57 differential j62 pull-down j24 see section 2: software output mode selection j69 see st10 datasheet st10 controller initial configuration
UM0162 2 software 19/32 2 software inputs and outputs are divided to several groups (see ta bl e 4 and ta b l e 5 ). the st10f269 mcu is preprogrammed with a simple program. each output group can work in two modes (bridge or toggling) selected by placing jumpers on j24 as shown in figure 19 . table 4. input group assignment input group in1x in2x in3x connector no. j1 j6 j50 input no. in11 in21 in31 in12 in22 in32 in13 in23 in33 in14 in24 in34 in15 in25 in16 in26 in17 in27 in18 in28 table 5. output group assignment output group out1x out2x out3x out4x connector no. j12 j31 j46 j53 output no. out11 out21 out31 out41 out12 out22 out32 out42 out13 out23 out33 out43 out14 out24 out34 out44 out15 out25 out16 out26 out17 out27 out18 out28
2 software UM0162 20/32 2.1 bridge configuration in a bridge configuration, the microcontroller reads the signal levels of each input and writes the data to its corresponding output. ta bl e 6 summarizes input/output group assignments. 2.2 toggling configuration in a toggling configuration, each output changes its logic level one after the other. first outx1 is switched on for approximately 0.5 seconds. when this time expires, outx1 is switched off and immediately the outx2 is switched on. this cycle continues until the last output in the selected output group is switched off. then, all the outputs of that group are switched off for approximately 0.5 seconds. afterwards, the cycle repeats itself. figure 19. jumper settings for data transmission configuration table 6. bridge configuration group assignment input group in11 to in18 in21 to in28 in31 to in34 connector no. j1 j6 j50 assigned output group out11 to out18 out21 to out28 out31 to out34 out41 to out44 connector no. j12 j31 j46 j53 a15 a13 a11 a9 a7 a5 a3 a1 a14 a12 a10 a8 a6 a4 a2 a0 a15 a13 a11 a9 a7 a5 a3 a1 a14 a12 a10 a8 a6 a4 a2 a0 out1x group out2x group out3x group out4x group ai11660 bridge configuration toggling configuration j24 j24
UM0162 3 electrical specifications and timings 21/32 3 electrical specifications and timings table 7. absolute maximum ratings parameter min. max. unit board supply voltage range 6 16 v dc current consumption (in run mode without load) 150 ma industrial supply voltage range -0.3 35 v dc industrial input voltage range -0.3 35 v dc output port voltage range 0 5 v dc output port current range -20 20 ma rs-232 channel speed 230 kbps rs-485 channel speed 30 mbps can channel speed 1 mbps
4 revision history UM0162 22/32 4 revision history date revision changes 26-sept-2005 1 initial release. 24-sep-2013 2 updated disclaimer.
UM0162 4 revision history 23/32 appendix a bill of materials table 8. bill of materials id pcs part reference value device type mftr/distri order code 130 c1, c3, c4, c13, c22, c23, c28, c33, c35, c36, c40, c41, c42, c43, c44, c45, c46, c47, c48, c51, c52, c55, c57, c58, c61, c63, c64, c65, c73 and c77 100nf smd capacitor ceramic size 0805 220 c2, c6, c7, c8, c9, c10, c11, c12, c15, c16, c17, c18, c24, c25, c26, c27, c34, c37, c38 and c39 22nf smd capacitor ceramic size 1206 312 c50, c53, c54, c56, c72, c74, c75 and c76 10/6.3v (b) smd tantalum capacitor epcos b45196e1106 m209 4 2 c19 and c20 30pf smd capacitor ceramic size 0805 5 2 c29 and c62 2.2/ 6.3v (a) smd tantalum capacitor size a epcos b45196e1225 m109 61c30 1 (a) smd tantalum capacitor size a epcos b45196e3105 m109 7 2 c31 and c32 330nf not assembled smd capacitor ceramic size 0805 8 2 c59 and c60 33n smd capacitor ceramic size 1206 9 4 c66, c67, c68 and c69 10nf/ 500v tht ceramic capacitor 10 2 c70 and c71 330nf smd capacitor ceramic size 0805 11 5 d1, d5, d8, d11 and d12 stth1l 06a schottky diode st 12 11 d2, d3, d4, d6, d7, d9, d10, d13, d14, d15 and d16 led 3mm red led 2ma agilent technologies l-hlmp-1700 13 1 f1 f500ma smd fuse fast acting size 1206 farnell 968-857 14 2 j1 and j6 con10 double level terminal block mkkds/2-5.08 + mkkds/3-5.08 phoenix- contact 1725038 + 1725041 15 17 j8, j10, j18, j19, j28, j30, j45, j47, j48, j49, j51, j52, j56, j57, j62, j63 and j65 jumper header 2pin 2.54mm pitch
4 revision history UM0162 24/32 16 2 j12 and j31 con14 header double line 14- pin 2.54mm pitch with housing 17 1 j24 con16 header double line 16- pin 2.54mm pitch 18 1 j26 con4 header double line 8-pin 2.54mm pitch 19 2 j46 and j53 con10 header double line 10- pin 2.54mm pitch 20 1 j50 con6 double level terminal block mkkds/3-5.08 phoenix- contact 1725041 21 3 j54, j64 and j66 con10 9pin d-sub socket farnell 415-5543 22 1 j59 con10 9pin d-sub plug farnell 415-5506 23 1 j61 con1_s header 1-pin 2.54mm pitch 24 2 j67 and j68 jumper_ 3p header single line 3-pin 2.54mm pitch 25 1 j69 con32a header double line 32- pin 2.54mm pitch 26 1 j70 con8 header double line 8-pin 2.54mm pitch 27 1 j71 con6 header double line 6-pin 2.54mm pitch 28 1 j72 con2 header double line 2-pin 2.54mm pitch 29 1 j73 con3 dc power connector - socket farnell 224-960 30 2 l1 and l2 inductor not assembled 31 16 r1, r2, r3, r4, r5, r8, r9, r10, r14, r15, r16, r17, r21, r22, r23 and r27 1.2 k ? ? ? ? ? ? ?
UM0162 4 revision history 25/32 38 4 r33, r34, r37 and r38 750 ? ? ? ? ? ? ? ? ?
4 revision history UM0162 26/32 appendix b pcb layers figure 20. top layer
UM0162 4 revision history 27/32 figure 21. bottom layer
4 revision history UM0162 28/32 figure 22. ground layer
UM0162 4 revision history 29/32 figure 23. power layer
4 revision history UM0162 30/32 figure 24. silk screen top layer
UM0162 4 revision history 31/32 figure 25. silk screen bottom layer
docid11632 rev 2 32/32 UM0162 32 please read carefully: information in this document is provided solely in connection with st products. stmicroelectronics nv and its subsidiaries (?st ?) reserve the right to make changes, corrections, modifications or improvements, to this document, and the products and services described he rein at any time, without notice. all st products are sold pursuant to st?s terms and conditions of sale. purchasers are solely responsible for the choice, selection and use of the st products and services described herein, and st as sumes no liability whatsoever relating to the choice, selection or use of the st products and services described herein. no license, express or implied, by estoppel or otherwise, to any intellectual property rights is granted under this document. i f any part of this document refers to any third party products or services it shall not be deemed a license grant by st for the use of such third party products or services, or any intellectual property contained therein or considered as a warranty covering the use in any manner whatsoev er of such third party products or services or any intellectual property contained therein. unless otherwise set forth in st?s terms and conditions of sale st disclaims any express or implied warranty with respect to the use and/or sale of st products including without limitation implied warranties of merchantability, fitness for a parti cular purpose (and their equivalents under the laws of any jurisdiction), or infringement of any patent, copyright or other intellectual property right. st products are not designed or authorized for use in: (a) safety critical applications such as life supporting, active implanted devices or systems wi th product functional safety requirements; (b) aeronautic applications; (c) automotive applications or environments, and/or (d) aerospace applications or environments. where st products are not designed for such use, the purchaser shall use products at purchaser?s sole risk, even if st has been informed in writing of such usage, unless a product is expressly designated by st as being intended for ?automotive, automotive safety or medical? industry domains according to st product design specifications. products formally escc, qml or jan qualified are deemed suitable for use in aerospace by the corresponding governmental agency. resale of st products with provisions different from the statements and/or technical features set forth in this document shall immediately void any warranty granted by st for the st product or service described herein and shall not create or extend in any manner whatsoev er, any liability of st. st and the st logo are trademarks or registered trademarks of st in various countries. information in this document supersedes and replaces all information previously supplied. the st logo is a registered trademark of stmicroelectronics. all other names are the property of their respective owners. ? 2013 stmicroelectronics - all rights reserved stmicroelectronics group of companies australia - belgium - brazil - canada - china - czech republic - finland - france - germany - hong kong - india - israel - ital y - japan - malaysia - malta - morocco - philippines - singapore - spain - sweden - switzerland - united kingdom - united states of america www.st.com


▲Up To Search▲   

 
Price & Availability of UM0162

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X